set Color Spot
abstract fun setColorSpot(block: DesignBlock, property: String, name: String, @FloatRange(from = 0.0, to = 1.0 ) tint: Float = 1.0f)
Deprecated
Use setColor instead.
Replace with
this.setColor(block, property)Content copied to clipboard
Set a color property of the given design block to the given value.
Parameters
block
the block whose property should be set.
property
the name of the property to set.
name
the name of the spot color.
tint
the tint factor in the range of 0 to 1.